package utils

import (
	"crypto/md5"
	"encoding/hex"
)

func Encrypt(str string) string {
	hash := md5.New()
	hash.Write([]byte(str))
	ret := hash.Sum(nil)
	return hex.EncodeToString(ret)
}
